<?xml version='1.0' encoding='UTF-8' ?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml"
      xmlns:h="http://java.sun.com/jsf/html"
      xmlns:p="http://primefaces.org/ui"
      xmlns:f="http://java.sun.com/jsf/core">
 
   <h:form id="mainForm">
    
        <p:panelMenu>  

            <p:submenu label="#{msg['menu.candidat.label']}" icon="ui-icon-extlink">  
                   
                    <p:menuitem icon="ui-icon-contact" value="#{msg['menu.candidat.new']}"  update="@(#contenu)">
                           <f:setPropertyActionListener value="/views/candidat/ajouter_candidat.xhtml" target="#{templateHandler.contentTarget}" />  
                    </p:menuitem> 
                    <p:menuitem icon="ui-icon-search" value="#{msg['menu.candidat.recherhcher']}" update="@(#contenu)">
                           <f:setPropertyActionListener value="/views/candidat/rechercher_candidat.xhtml" target="#{templateHandler.contentTarget}" />  
                    </p:menuitem> 
                    
                    <!-- 
                    <p:menuitem icon="ui-icon-search" value="#{msg['menu.candidat.recherhcher']}" update="@(#contenu)">
                           <f:setPropertyActionListener value="/page1.xhtml" target="#{templateHandler.contentTarget}" />  
                    </p:menuitem> 
                
                    <p:menuitem icon="ui-icon-search" value="#{msg['menu.candidat.rdvs']}"  update="@(#contenu)" >
                        <f:setPropertyActionListener value="/views/onglets.xhtml" target="#{templateHandler.contentTarget}" />  
                    </p:menuitem>   
                     -->
                        
                </p:submenu>  
              
             <p:submenu label="Moniteurs" icon="ui-icon-extlink">    
                     <p:menuitem icon="ui-icon-contact" value="#{msg['menu.moniteur.new']}"  update="@(#contenu)">
                           <f:setPropertyActionListener value="/views/moniteur/ajouter_moniteur.xhtml" target="#{templateHandler.contentTarget}" />  
                    </p:menuitem>              
                    <p:menuitem icon="ui-icon-extlink" value="Home" url="http://www.primefaces.org"/>  
                    <p:menuitem icon="ui-icon-extlink" value="Docs" url="http://www.primefaces.org/documentation.html"/>  
                    <p:menuitem icon="ui-icon-extlink" value="Download" url="http://www.primefaces.org/downloads.html"/>             
             </p:submenu> 
             <p:submenu label="Parck auto" icon="ui-icon-extlink">                
                    <p:menuitem icon="ui-icon-extlink" value="Home" url="http://www.primefaces.org"/>  
                    <p:menuitem icon="ui-icon-extlink" value="Docs" url="http://www.primefaces.org/documentation.html"/>  
                    <p:menuitem icon="ui-icon-extlink" value="Download" url="http://www.primefaces.org/downloads.html"/>  
             </p:submenu> 
             <p:submenu label="Comptabilité" icon="ui-icon-extlink">                
                    <p:menuitem icon="ui-icon-extlink" value="Home" url="http://www.primefaces.org"/>  
                    <p:menuitem icon="ui-icon-extlink" value="Docs" url="http://www.primefaces.org/documentation.html"/>  
                    <p:menuitem icon="ui-icon-extlink" value="Download" url="http://www.primefaces.org/downloads.html"/>  
             </p:submenu> 

    </p:panelMenu>  
  
  </h:form>

</html>

